package com.nomito.minimito.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 凌月青缃
 * @date 2021/5/16
 */
/**
 *                 value: 1,
 *                 label: '郑州市',
 *                 children: [{
 *                      value: 1,
 *                      label: '中原区',
 *                      },
 *                       {
 *                       value: 2,
 *                       label: '二七区',
 *                        }]
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RespAreaVo implements Serializable {
    private String label;
//    private List<String> children;
    private List<childrens> children;


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class childrens implements Serializable{
        private String label;
    }
}
